@Repository
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th=
        "http://www.thymeleaf.org" lang="en">
<head th:replace="fragments/header :: head">
</head>
<body>
<div th:replace="fragments/header:: navbar"></div>
<div class="container">
  <h3 class="text-center">用户信息汇总</h3>
  <div class="row"> </div>
  <br/>
  <div class="col-6">
    <div class="alert alert-danger" th:if="${Message}" th:utext=
            "${Message}">
    </div>
  </div>
  <div class="table-responsive">
    <table class="table table-bordered">
      <thead>
      <tr>
        <th>用户编号</th>
        <th>登录名称</th>
        <th>用户全名</th>
        <th>用户电话</th>
        <th>用户地址</th>
        <th>银行卡号</th>
        <th>管理操作 </th>
      </tr>
      </thead>
      <tbody>
      <tr th:each="user : ${users}">
        <td>[[${user.userId}]]</td>
        <td>[[${user.userName}]]</td>
        <td>[[${user.userFullname}]]</td>
        <td>[[${user.userPhone}]]</td>
        <td>[[${user.userAddress}]]</td>
        <td>[[${user.userBankcard}]]</td>
        <td class="text-left">
          <div class="btn-group flex-btn-group-container">
            <a th:href="@{'/users/edit/{userId}'(userId=${user.userId})}"
               class="btn btn-info btn-sm">
              <span class="fa fa-eye"></span>
              <span class="d-none d-md-inline">编辑</span>
            </a>
            <a th:href="@{'/users/delete/{userId}'(userId=${user.userId})}"
               class="btn btn-danger btn-sm">
              <span class="fa fa-remove"></span>
              <span class="d-none d-md-inline">删除</span>
            </a>
          </div>
        </td>
      </tr>
      </tbody>
    </table>
  </div>
</div>
<div class = "col-11 text-right">
  <a class="btn btn-primary" th:href="@{/users/add}">新增用户</a>
  <a class="btn btn-primary" th:href="@{/home}"> 返回首页</a>
</div>
</body>